#ifndef USERSTATUS_H
#define USERSTATUS_H

#include <QWidget>

namespace Ui {
class UserStatus;
}

class QMenu;
class QLabel;
class BllDataFlow;
class UserStatus : public QWidget
{
    Q_OBJECT

public:
    explicit UserStatus(QWidget *parent = nullptr);
    ~UserStatus();

private slots:
    void exitSlot();
    void setUserStatusTextSlot(QString username);
    void retranslateUiSlot();
    void setEnableSlot(bool state);

private:
    Ui::UserStatus *ui;
    BllDataFlow *bdf;
    QMenu *menu;
    QLabel *logout;
};

#endif // USERSTATUS_H
